package org.jeecg.modules.demo.LAPI.service;

import org.jeecg.modules.demo.LAPI.entity.PersonnelRegion;
import org.jeecg.modules.demo.LAPI.entity.PersonnelIdentification;
import org.jeecg.modules.demo.LAPI.entity.PersonnelImage;
import org.jeecg.modules.demo.LAPI.entity.PersonnelPerson;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 人员信息表
 * @Author: jeecg-boot
 * @Date:   2024-02-04
 * @Version: V1.0
 */
public interface IPersonnelPersonService extends IService<PersonnelPerson> {

	/**
	 * 添加一对多
	 *
	 * @param personnelPerson
	 * @param personnelRegionList
	 * @param personnelIdentificationList
	 * @param personnelImageList
	 */
	public void saveMain(PersonnelPerson personnelPerson,List<PersonnelRegion> personnelRegionList,List<PersonnelIdentification> personnelIdentificationList,List<PersonnelImage> personnelImageList) ;
	
	/**
	 * 修改一对多
	 *
   * @param personnelPerson
   * @param personnelRegionList
   * @param personnelIdentificationList
   * @param personnelImageList
	 */
	public void updateMain(PersonnelPerson personnelPerson,List<PersonnelRegion> personnelRegionList,List<PersonnelIdentification> personnelIdentificationList,List<PersonnelImage> personnelImageList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
